package com.itheima.writer;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;

public class OutReaderDemo {

    public static void main(String[] args) throws IOException {

        OutputStreamWriter outputStreamWriter = new OutputStreamWriter(new FileOutputStream("day11\\c.txt"));

        outputStreamWriter.write("姚头叹琦");

        outputStreamWriter.close();
    }
}
